[INFO] cloning repository https://github.com/satanya-zero/btcodec
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/satanya-zero/btcodec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatanya-zero%2Fbtcodec", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatanya-zero%2Fbtcodec'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4c1ef239f14deec61f54fe0ef9695281f037722
[INFO] checking satanya-zero/btcodec against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatanya-zero%2Fbtcodec" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/satanya-zero/btcodec on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/satanya-zero/btcodec
[INFO] finished tweaking git repo https://github.com/satanya-zero/btcodec
[INFO] tweaked toml for git repo https://github.com/satanya-zero/btcodec written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/satanya-zero/btcodec already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 275e852d33e8783dced4189a3ec8f7bdcf64809f34786f93586822eec82acfba
[INFO] running `Command { std: "docker" "start" "-a" "275e852d33e8783dced4189a3ec8f7bdcf64809f34786f93586822eec82acfba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "275e852d33e8783dced4189a3ec8f7bdcf64809f34786f93586822eec82acfba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "275e852d33e8783dced4189a3ec8f7bdcf64809f34786f93586822eec82acfba", kill_on_drop: false }`
[INFO] [stdout] 275e852d33e8783dced4189a3ec8f7bdcf64809f34786f93586822eec82acfba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c54a952b51d163efa08222579b4516a65efbba0bcd35383eca7e71b3835bfdf
[INFO] running `Command { std: "docker" "start" "-a" "3c54a952b51d163efa08222579b4516a65efbba0bcd35383eca7e71b3835bfdf", kill_on_drop: false }`
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking btcodec v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Number`
[INFO] [stdout]  --> src/packet/etcs5.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::value::Value::{Number, Object};
[INFO] [stdout]   |                                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Number`
[INFO] [stdout]  --> src/packet/etcs5.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::value::Value::{Number, Object};
[INFO] [stdout]   |                                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/packet/etcs5.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 |     if assert_eq!(packet_map.get("Q_NEWCOUNTRY"), json!(1)) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found enum `Value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<&Value>`
[INFO] [stdout]               found enum `Value`
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0317]: `if` may be missing an `else` clause
[INFO] [stdout]   --> src/packet/etcs5.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 |     if assert_eq!(packet_map.get("Q_NEWCOUNTRY"), json!(1)) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `if` expressions without `else` evaluate to `()`
[INFO] [stdout]    = help: consider adding an `else` block that evaluates to the expected type
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/packet/etcs5.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 |     if assert_eq!(packet_map.get("Q_NEWCOUNTRY"), json!(1)) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found enum `Value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<&Value>`
[INFO] [stdout]               found enum `Value`
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0317]: `if` may be missing an `else` clause
[INFO] [stdout]   --> src/packet/etcs5.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 |     if assert_eq!(packet_map.get("Q_NEWCOUNTRY"), json!(1)) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `if` expressions without `else` evaluate to `()`
[INFO] [stdout]    = help: consider adding an `else` block that evaluates to the expected type
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `bit2int` in this scope
[INFO] [stdout]   --> src/packet/etcs5.rs:29:56
[INFO] [stdout]    |
[INFO] [stdout] 29 |         packet_map.insert(String::from("NID_C"), json!(bit2int(10)));
[INFO] [stdout]    |                                                        ^^^^^^^ help: a local variable with a similar name exists: `bin2int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `bit2int` in this scope
[INFO] [stdout]   --> src/packet/etcs5.rs:29:56
[INFO] [stdout]    |
[INFO] [stdout] 29 |         packet_map.insert(String::from("NID_C"), json!(bit2int(10)));
[INFO] [stdout]    |                                                        ^^^^^^^ help: a local variable with a similar name exists: `bin2int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `u128` as `T`
[INFO] [stdout]  --> src/tool.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     u128::from_str_radix(&bin_str[range], 2).unwrap() as T
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0317, E0425, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `u128` as `T`
[INFO] [stdout]  --> src/tool.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     u128::from_str_radix(&bin_str[range], 2).unwrap() as T
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0317, E0425, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `btcodec` due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `btcodec` due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3c54a952b51d163efa08222579b4516a65efbba0bcd35383eca7e71b3835bfdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c54a952b51d163efa08222579b4516a65efbba0bcd35383eca7e71b3835bfdf", kill_on_drop: false }`
[INFO] [stdout] 3c54a952b51d163efa08222579b4516a65efbba0bcd35383eca7e71b3835bfdf
